#include "tf_Geom_Object.h"

TfGeomObject::TfGeomObject()
{
	m_isValid = true;
	m_ver = 0;
	m_id = 0;
	m_partId = 0;
}

TfGeomObject::~TfGeomObject()
{

}

void TfGeomObject::Delete()
{
	m_isValid = false;
}

bool TfGeomObject::IsValid() const
{
	return m_isValid;
}

void TfGeomObject::SetValid(bool b)
{
	m_isValid = b;
}

int TfGeomObject::GetId() const
{
	return m_id;
}

int TfGeomObject::GetVersion() const
{
	return m_ver;
}

void TfGeomObject::SetVersion(int ver)
{
	m_ver = ver;
}